<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"
%><%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"
%><%@ taglib prefix="tags" tagdir="/WEB-INF/tags"
%><%@ taglib prefix="security" uri="http://www.springframework.org/security/tags"
%><%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"
%><%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"
%>
<head>
	<link rel="stylesheet" href="<c:url value="/skins/styles/login.css"/>" />
	<title><fmt:message key="login.login.title" /></title>
</head>
<body>
<style>
#content .pic {
width: 508px;
float: left;
display: inline;
height: 275px;
}

#content .form {
float: left;
display: inline;
width: 330px;
}
</style>
	

<div class="pic">
	<img src="${pageContext.request.contextPath}/skins/styles/img/T174RUXn0yXXXXXXXX-435-276.jpg" width="435" height="276">
</div>
<div class="form">
	<div class="form-inner">
		<div class="form-content">
			<div class="form-hd">商城会员</div>
			<div class="login-box">
				
				<div class="bd">

					<div id="J_Message" style="display:none;" class="login-msg msg">
						<p class="error"></p>
					</div>

					<div id="J_Static" class="static">

						<c:url value="/logincheck" var="loginCheckUrl"/>
						<form:form id="J_StaticForm" action="${loginCheckUrl}" modelAttribute="loginForm" method="post">
							<form:errors cssClass="error"/>
							<div class="field">
								<label>账户名</label>
								<form:input path="j_username" id="TPL_username_1" cssClass="login-text J_UserName tb-input-hint" title="手机号/会员名/邮箱" maxlength="32" tabindex="1"/>
							</div>
							<div class="field">
								<label>密　码</label>
								<span id="J_StandardPwd">
									<form:password path="j_password" class="login-text" maxlength="20" tabindex="2"/>
								</span>
								<strong id="J_CapsLockTip" class="warning-tip" style="display:none;">
									Caps Lock键正处于启用状态，<br>启用它可能导致密码输入错误。
								</strong>
							</div>
							<div class="safe">	
								<span class="long-login" id="J_LongLogin_l1" style="visibility: visible; ">
									<form:checkbox id="rememberme" path="_spring_security_remember_me" cssClass="J_LognLoginInput"/><label for="J_LongLogin_1">两周内免登录</label>
								</span>
								<a class="long-login-help" id="J_LongLogin_l11" title="去看看什么是免登录" target="_blank" href="http://service.taobao.com/support/help-11985.htm" style="visibility: visible; ">帮助</a>
								<div class="login-tips" style="visibility: hidden; ">
									<s class="tl"></s>
									<s class="tr"></s>
									<s class="bl"></s>
									<s class="br"></s>
									<div class="login-tips-content"></div>
								</div>							
							</div>						
							<div class="submit">
								<button onclick="addLoginStationing('loginbt')" type="submit" class="J_Submit" tabindex="3">登录</button>
								<c:url value="/login/passwordLost" var="forgetUrl" />
								<a href="${forgetUrl}" target="_blank" id="forget-pw-safe" class="forget-pw">忘记密码?</a>
							</div>
							<ul class="entries">	
								<c:url value="/" var="context"/>
								<li id="registerUrl_1"><a href="${context}register/new" target="_blank">免费注册</a></li>
							</ul>
						</form:form>
					</div>
				</div>

			</div>
		</div>
	</div>
</div>

</body>
